<%-- 
    Document   : index
    Created on : 2012-maj-03, 16:43:36
    Author     : Locally
--%>

<%--        
 "jdbc:mysql://localhost:8889/webbucks";
 "com.mysql.jdbc.Driver"
--%>



<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>WebBucks Online Coffee Company!</title>
    </head>
    <body>
        <h1>WebBucks!</h1>
    


        <%= new java.util.Date() %></p>
        

        <jsp:useBean id="cb" scope="request" class="com.webbucks.CustomerBean">
            Error, the instance is created in the bean
        </jsp:useBean>
  
        <jsp:setProperty name="cb" property="fName" value="Johannes"/>
        <jsp:setProperty name="cb" property="nName" value="Jo-jo"/>
        <jsp:setProperty name="cb" property="lName" value="Nilsson"/>
            
        <H1>
            <jsp:getProperty name="cb" property="name" />
        </H1>
        
        ${cb.name} <br/>
        
        
        <p>
            

            
        </p>
        
        
    <p>Products
        <ul>
            <li>Frappucino</li>
            <li>Latte</li>
            <li>Mocca</li>
            <li>Black</li>
            <li>Smoothie</li>
        </ul>
            
     
    </p>
               
    </body>
</html>


</body></html>